package com.trailblazer.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "测试控制器")
public class TestController {

    @GetMapping("/test")
    @ApiOperation("test的方法")
    public String test(){
        return "hello springboot";
    }
}
